#!/usr/bin/env python
import unittest
from core.round_god import RoundGod
from core.player import Player

class RoundGodTest(unittest.TestCase):
    
    def testRoundGodShouldGetPlayersStillPlaying(self):
        self.xi_kun = Player('xi.kun')
        self.li_yan = Player('li.yan')
        self.roundGod = RoundGod([self.xi_kun, self.li_yan])
        self.players = self.roundGod.get_players_still_playing()
        for p in self.players:
            print(p.get_name())
        
if __name__ == '__main__':
    unittest.main()